package com.xhkj.shirodemo.pojo;

/**
 * \* User: 汪兴华
 * \* Date: 2019/12/29
 * \* Time: 17:56
 */
public class JsonResult {
    private Integer code;
    private String value;
    private Object data;

    public JsonResult() {
    }

    public JsonResult(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public JsonResult(Integer code, String value, Object data) {
        this.code = code;
        this.value = value;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "JsonResult{" +
                "code=" + code +
                ", value='" + value + '\'' +
                ", data=" + data +
                '}';
    }
}
